using System;
using System.Collections.Generic;
using System.Text;

namespace My.IdlConverter.Core.Output
{
    public abstract class StreamWriterBase<T> : IStreamWriter<T>
    {
        private string _pathName;

        public StreamWriterBase(string pathName)
        {
            _pathName = pathName;
        }

        public string Path
        {
            get
            {
                return _pathName;
            }
            set
            {
                _pathName = value;
            }
        }

        public abstract void Append(T target);
        public abstract void Write(T target);
    }
}
